package com.warrior.superdata.mysql.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description:
 * @ClassName: ApiDatasource.java
 * @date: 2022/3/2 18:06
 * @author xujian
 */
@Data
public class ApiDatasource extends Entity {

    @ApiModelProperty(value = "数据源唯一编码")
    private String datasourceCode;

    @ApiModelProperty(value = "数据源名称")
    private String datasourceName;

    @ApiModelProperty(value = "数据源类型 1-mysql 2-es")
    private Integer type;

    @ApiModelProperty(value = "数据源ip")
    private String ip;

    @ApiModelProperty(value = "数据源端口")
    private String port;

    @ApiModelProperty(value = "数据源账号")
    private String username;

    @ApiModelProperty(value = "数据源密码")
    private String password;

}
